<?php

namespace Home\Model;
use Think\Model;

class NewsModel extends Model {
    protected $_scope =array(
        'normal'=>array(
            'where'=>array('bookCount'=>8),
            'field'=>'id,title',
            'limit'=>10,
        ),
    );
} 